package com.example.shardingjdbcdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.shardingjdbcdemo.entity.join.JoinOrder;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface JoinOrderMapper extends BaseMapper<JoinOrder> {

    <E> List<JoinOrder> selectJoinList(@Param("dateList") List<LocalDate> date);

    List<JoinOrder> selectJoinListBetween(@Param("startDate") LocalDate date, @Param("endDate") LocalDate localDate);
}
